package com.quanyan.stadium.constants;

/**
 * 等级分相关参数
 * @author dongshenglin
 * @date 2016/8/30  15:10
 */
public class GradePointsConstants {

    public static final Integer MEDAL_NUM = 4;

    public static final int GRADE_K = 10;//升降指数

    public static final int GRADE_G = 1; //比分指数(除足球外)

    /**
     *  Rm
     */
    public static final int GRADE_IS_NOT_BADMINTON_RM = 7000; //网球 足球 篮球
    public static final int GRADE_IS_BADMINTON_RM = 9000; //羽毛球

    /**
     *  Rn最小值
     */
    public static final int GRADE_MIN_GRADE_POINT_FOR_SMALLBALL = 1000;
    public static final int GRADE_MIN_GRADE_POINT_FOR_BIGBALL = 3000;

    /**
     * 等级分最高值
     */
    public static final Integer INTEGRAL_MAXVALUE= 5999;

    /**
     * Level最小值
     */
    public static final Double GRADE_MIN_USER_LEVEL = 1.0;
    public static final Double GRADE_MIN_TEAM_LEVEL = 3.0;

    /**
     * 等级分是否有效
     */
    public static final byte YES = 1;
    public static final byte NO = 0;

    /**
     * 默认战胜的用户数为10时变为有效等级分
     */
    public static final int WIN_TIMES = 10;

    /**
     * 比赛结果
     */
    public static final Double RESULT_WIN = 1.0;

    /**
     * 打赢比赛场次数（团体赛，即大球类比赛规定某团体赢了一定场次数比赛才能把等级分变为明分）
     */
    public static final Integer TEAM_WIN_TIMES = 8;

    /**
     * 明分，暗分标识
     */
    public static final Byte REAL_SCORE = 1;
    public static final Byte FALSE_SCORE = 0;

    /**
     * 等级分上下限
     */
    public static final Integer INTEGRAL_MAXVALUE_FOR_TENNIS= 5999;
    public static final Integer INTEGRAL_MAXVALUE_FOR_NOT_TENNIS= 10999;
}

